package com.longcai.cm.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

import com.longcai.cm.domain.vm.MemberVipViewModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 会员商品维护
 * </p>
 *
 * @author LBX
 * @since 2024-08-26
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("ja_vip_info")
@ApiModel(value = "JaVipInfo对象", description = "会员商品维护")
public class JaVipInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("id")
    private String id;

    @ApiModelProperty("会员名称")
    @TableField("name")
    private String name;

    @ApiModelProperty("会员等级 1试用 2正式")
    @TableField("level")
    private Integer level;

    @ApiModelProperty("限制次数")
    @TableField("limit_count")
    private Integer limitCount;

    @ApiModelProperty("会员简介")
    @TableField("product_desc")
    private String productDesc;

    @ApiModelProperty("生效天数")
    @TableField("available_month")
    private Integer availableMonth;

    @ApiModelProperty("创建时间")
    @TableField("create_time")
    private String createTime;

    @ApiModelProperty("价格")
    @TableField("amount")
    private BigDecimal amount;

    @ApiModelProperty("会员商品")
    @TableField(exist = false)
    private VGoodInfoList vipProduct;

    @ApiModelProperty("会员商品")
    @TableField(exist = false)
    private List<JaCoupon> couponList;

    @ApiModelProperty("我的会员状态")
    @TableField(exist = false)
    private MemberVipViewModel memberVipViewModel;

}
